package io.seata.sample.entity;
import java.math.BigDecimal;

import lombok.Data;
/**
 * @Author: linKe
 * @Date: 2022/1/25 10:43
 * @FileName: Account
 * @version: 1.0
 * @Description: 描述
 */
@Data
public class Account {

    private Long id;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 总额度
     */
    private BigDecimal total;

    /**
     * 已用额度
     */
    private BigDecimal used;

    /**
     * 剩余额度
     */
    private BigDecimal residue;
}

